const express = require("express")

const router = express.Router()

let myFc = require("../router_handler/myFc")

router.get("/emitUserPid",myFc.emitUserPid)


// 获取路由信息

router.get("/getRouterInfo",myFc.getRouterInfo)

// 插入权限
router.post("/insertAuthority",myFc.insertAuthority)

// 用户注册
router.post("/userRegister",myFc.userRegister)

// 获取用户数据
router.get("/getUserData",myFc.getUserData)

// 用户登录

router.get("/login",myFc.login)

// 用户删除
router.get("/deleteUser",myFc.deleteUser)

//编辑用户
router.get("/editUser",myFc.editUser)
module.exports = router

